<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>打卡记录</title>
    <script src="jquery-1.11.1.min.js"></script>
    <style type="text/css">
      #maindiv{
        margin: 0 auto;
        width: 300px;
        text-align:center;
        border:2px solid #a1a1a1;
        padding:10px 40px;
        background:#dddddd;
        border-radius:25px;
        -moz-border-radius:25px; /* 老的 Firefox */
      }

    </style>
  </head>
  <body>
<div id="maindiv" >
  <img src="bg.png"/>
  <form action="wk" method="post">
    用户名：<input style="width: 200px;margin-top: 20px;" name="user" value="${username}" type="text" style="margin-top: 10px;" />
    <br/>
    <span id="msg" style="color: red;"></span><br/>
    密&nbsp;&nbsp;&nbsp;码：<input style="width: 200px;margin-top: 10px;" name="psd"type="password" style="margin-top: 10px;" /><br/>
    <input  type="submit" value="登陆" style="margin-top: 10px;margin-left: 40px;width: 100px;"  />
  </form>
  <span style="font-size: 12px;">@2003-2019 By Mine Loader Java Team.</span>
</div>

  </body>

  <script type="text/javascript" >
    $(function () {
        var msg = "${msg}";
        if(msg){
            $("#msg").text(msg);
        }
    })

  </script>
</html>
